package com.wqr.dao;

import com.wqr.pojo.UserTypes;
import com.wqr.pojo.UserTypesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserTypesDao {
    int countByExample(UserTypesExample example);

    int deleteByExample(UserTypesExample example);

    int deleteByPrimaryKey(Integer userTypeId);

    int insert(UserTypes record);

    int insertSelective(UserTypes record);

    List<UserTypes> selectByExample(UserTypesExample example);

    UserTypes selectByPrimaryKey(Integer userTypeId);
    
    List<UserTypes> selectByWhere(UserTypes record);
    
    List<UserTypes> selectAll();

    int updateByExampleSelective(@Param("record") UserTypes record, @Param("example") UserTypesExample example);

    int updateByExample(@Param("record") UserTypes record, @Param("example") UserTypesExample example);

    int updateByPrimaryKeySelective(UserTypes record);

    int updateByPrimaryKey(UserTypes record);
}